<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
>

<channel>
	<title>{dede:global.cfg_webname/}</title>
	<atom:link href="{dede:global.cfg_basehost/}/rssfeed.xml" rel="self" type="application/rss+xml" />
	<link>{dede:global.cfg_basehost/}</link>
	<description>{dede:global.cfg_description/}</description>
    <language>zh-cn</language>
    <generator>{dede:global.cfg_webname/}</generator>
    <webmaster>{dede:global.cfg_adminemail/}</webmaster>
    
        {dede:arclist row='30' col='1' titlelen='1000' addfields='body' channelid='1' orderby='pubdate'}
		<item>
            <link>http://www.23ps.com[field:arcurl/]</link>
            <title><![CDATA[[field:title function='html2text(@me)'/]]]></title>
            <author>[field:writer/]</author>
            <category>[field:typename/]</category>
            <pubDate>[field:pubdate function="GetDateTimeMK(@me)"/]</pubDate>
            <guid>http://www.23ps.com[field:arcurl/]</guid>
            <description>
            <![CDATA[
            [field:id runphp='yes']
            
                     $dsql = new dedesql();
                     $aid = intval(@me);
                     $art = "select * from ps_addonarticle where aid=$aid";
                     $artinfo = $dsql->getOne("select * from ps_addonarticle where aid=$aid");
                     if($artinfo['isfree'] == '收费'){
                     
                     }else{
						$dsql = new dedesql();
						$aid = @me;
						$body = $dsql->getOne("select body from ps_addonarticle where aid=$aid");
						@me = $body['body'];
                     }
            
            [/field:id]
            <br /><br /><b>文章分类：</b>[field:typename/]<br /><a href="http://www.23ps.com[field:arcurl/]" target="_blank">阅读全文</a> | <a href="http://www.23ps.com[field:arcurl/]" target="_blank">评论回复</a>]]></description>		</item>
        {/dede:arclist}

</channel>
</rss>